home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
nihcl-30.lha
/
nihcl-3.0
/
ex
/
ex8-1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-15
|
403b
|
15 lines
// ex8-1.c -- Description of a Patient object
// $Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/ex/RCS/ex8-1.c,v 3.0 90/05/15 22:45:53 kgorlen Rel $
#include "Patient.h"
main()
{
Patient aPatient("Doe, John","000-00-0000",12345);
cout << "Class[" << aPatient.className() << "] "
<< "ByteSize[" << sizeof(aPatient) << "]" << endl;
aPatient.dumpOn(cout);
}